package com.jeecg.p3.dzdp.dao.impl;

import java.util.List;

import org.jeecgframework.p3.core.utils.common.PageQuery;
import org.jeecgframework.p3.core.utils.common.PageQueryWrapper;
import org.jeecgframework.p3.core.utils.persistence.mybatis.GenericDaoDefault;
import org.springframework.stereotype.Repository;

import com.jeecg.p3.dzdp.dao.WxActDzdpBasicDao;
import com.jeecg.p3.dzdp.entity.WxActDzdpBasic;

@Repository("wxActDZDPDaoImpl")
public class WxActDZDPDaoImpl extends GenericDaoDefault<WxActDzdpBasic> implements WxActDzdpBasicDao {


	@Override
	public Integer count(PageQuery<WxActDzdpBasic> pageQuery) {
		return (Integer) super.queryOne("count",pageQuery);
	}

	@Override
	public List<WxActDzdpBasic> queryPageList(PageQuery<WxActDzdpBasic> pageQuery, Integer itemCount) {
		PageQueryWrapper<WxActDzdpBasic> wrapper=new PageQueryWrapper<WxActDzdpBasic>(pageQuery.getPageNo(),pageQuery.getPageSize(),itemCount,pageQuery.getQuery());
		return (List<WxActDzdpBasic>)super.query("queryPageList",wrapper);
	}
	

	@Override
	public List<WxActDzdpBasic> queryBasics(String jwid) {
		// TODO Auto-generated method stub
		return (List<WxActDzdpBasic>)super.query("queryBasics",jwid);
	}

}
